<?php
	class News extends BaseModel {

		private $idNews;
		private $game;
		private $season;
		private $user;
		private $subject;
		private $message;

		public function getIdNews() {
			return $this->idNews;
		}
		
		public function setIdNews($value) {
			$this->idNews = $value;
		}
		
		public function getGame() {
			return $this->game;
		}
		
		public function setGame($value) {
			$this->game = $value;
		}
		
		public function getSeason() {
			return $this->season;
		}
		
		public function setSeason($value) {
			$this->season = $value;
		}
		
		public function getUser() {
			return $this->user;
		}
		
		public function setUser($value) {
			$this->user = $value;
		}
		
		public function getSubject() {
			return $this->subject;
		}
		
		public function setSubject($value) {
			$this->subject = $value;
		}
		
		public function getMessage() {
			return $this->message;
		}
		
		public function setMessage($value) {
			$this->message = $value;
		}
		
		public function required() {
			return array(
				"idNews" => $this->idNews,
				"game" => $this->game,
				"season" => $this->season,
				"user" => $this->user,
				"subject" => $this->subject,
				"message" => $this->message
			);
		}

		public function json() {
			return array(
				"idNews" => $this->idNews,
				"game" => $this->game,
				"season" => $this->season,
				"user" => $this->user,
				"subject" => $this->subject,
				"message" => $this->message
			);
		}

	}